import pandas as pd
import numpy as np
import seaborn as sns
import warnings
warnings.filterwarnings("ignore")
sns.set()
import matplotlib.pyplot as plt


def student():
    # ********* Begin *********#

    data = pd.read_csv("Task4/train.csv")
    f,ax = plt.subplots(1,2,figsize=(10,10))
    sns.barplot(x="SibSp",y="Survived", data=data,ax=ax[0])
    ax[0].set_title("SibSp vs Survived")
    sns.catplot(x='SibSp',y="Survived", data=data,ax=ax[1], kind="point")
    ax[1].set_title("SibSp vs Survived")
    plt.close(2)
    plt.savefig("Task4/img/T1.png")

    # ********* End *********#
